import request from '@/utils/request'

// 查询研讨会信息列表
export function listSeminars(query) {
  return request({
    url: '/education/Seminars/list',
    method: 'get',
    params: query
  })
}

// 查询研讨会信息详细
export function getSeminars(seminarId) {
  return request({
    url: '/education/Seminars/' + seminarId,
    method: 'get'
  })
}

// 新增研讨会信息
export function addSeminars(data) {
  return request({
    url: '/education/Seminars',
    method: 'post',
    data: data
  })
}

// 修改研讨会信息
export function updateSeminars(data) {
  return request({
    url: '/education/Seminars',
    method: 'put',
    data: data
  })
}

// 删除研讨会信息
export function delSeminars(seminarId) {
  return request({
    url: '/education/Seminars/' + seminarId,
    method: 'delete'
  })
}
